package com.jinhua.admin.entity;


import com.jinhua.mybatis.annotation.Column;
import com.jinhua.mybatis.annotation.Table;
import com.jinhua.mybatis.entity.BaseEntity;
import lombok.Data;

@Table(commit = "模块",prefix = "do")
@Data
public class ModelPo extends BaseEntity<ModelPo> {
	private static final long serialVersionUID = -3979669058518870602L;

	@Column(commit = "父模块的id",length = 20)
	private Long prentId;

	@Column(commit = "父模块名称",length = 20)
	private String prentName;

	@Column(commit = "模块名称",length = 10)
	private String name;

	@Column(commit = "1:一级模块,2:二级模块,3:三级模块4:模块的操作",length = 2)
	private Integer layerNum;

	@Column(commit = "模块的路径",length = 255)
	private String curl;

	@Column(commit = "vue路由",length = 255)
	private String path;

	@Column(commit = "状态:0-正常,1-隐藏",length = 3)
	private Integer status;
}
